@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  background: #fbfdff;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  margin: 20px;
  padding: 20px;
  background: #fff;
  // background-image: url(../../public/main-container-bg.png);
  background-size: cover;
  background-position: bottom right;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

//M.孟莉娜 20200225 顶部面包屑
.el-tabs.el-tabs--card.el-tabs--top{
  background: #fff;
}
.el-tabs__header{
  margin-bottom: 0;
}
//M.孟莉娜 20200311 卡片 dirlog
.el-card{
  margin: 20px;
}
.el-card__header {
    padding: 15px 20px;
}
.el-card__header>div>span {
    line-height: 28px;
}
.el-card__header>div>span em {
    font-style: normal;
    color: #909399;
    font-size: .8em;
}
.el-dialog__header{
  border-bottom: 1px solid #dfe6ec;
}

//M.孟莉娜 20200318 表单内选择器、联级选择器、日期时间选择器宽度
.el-select,.el-cascader,.el-time-select,.el-date-picker,.el-date-editor{
  display: block;
}
.el-form .el-time-select,.el-form .el-date-picker,.el-form .el-date-editor{
  width: 100% !important;
}
//M.孟莉娜 20200323 翻页高度
.el-pagination{
    padding: 4px 5px;
}

//M.孟莉娜 20200323 带返回按钮的卡片header
.el-card__header{
  line-height: 36px;
}
.el-page-header{
  float: left;
}
.el-card__header .clearfix button{
  float: right;
}

// M.孟莉娜 20200409 页面内提示信息样式
div.tip{
  padding: 8px 16px;
  background-color: #ecf8ff;
  border-radius: 4px;
  border-left: 5px solid #50bfff;
  margin-bottom: 20px;
}
div.link-type p {
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.5em;
  color: #5e6d82;
}

// M.孟莉娜 20200409 dialog高度
.el-dialog__body{
  max-height: 65vh;
  overflow-y: auto;
}

//M.孟莉娜 20200413 步骤条样式
.el-steps.el-steps--horizontal{
  display: block;
}
.el-steps.el-steps--horizontal .el-step__head,.el-step__description{
  display: none !important;
}
.el-step.is-horizontal{
  max-width: 100% !important;
  display: block;
  float: left;
}
.el-step__title{
  position: relative;
  padding: 0 10px 0 35px;
  background: #dfe4ed;
  font-size: 14px;
  font-weight: normal !important;
}
.el-step__title::before,.el-step__title::after{
  position: absolute;
  width: 0;
  height: 0;
  content: '';
}

.el-step__title::after{
  top: 0;
  right: -38px;
  z-index: 3;
  border: solid 19px transparent;
  border-left-color: #dfe4ed;
}
.el-step__title::before{
  top: -6px;
  right: -50px;
  border: solid 25px transparent;
  z-index: 2;
  border-left-color: #fff;
}
.el-step__title.is-success{
  background-color: #409EFF;
  color: #fff;
}
.el-step__title.is-success::after{
  border-left-color: #409EFF;
}
.el-step.is-horizontal:last-child .el-step__title::after{
  display: none;
}
.el-step.is-horizontal:last-child .el-step__title{
  padding-right: 20px;
}
.el-step.is-horizontal:first-child .el-step__title{
  padding-left: 20px;
}

// M.孟莉娜 20200518 dialog底部确认按钮

.el-dialog__footer .el-link{
  margin-right: 20px;
}

// M.孟莉娜 20200519 table内el-link间距
td .el-link{
  margin: 0 6px;
}

.el-form-item__content .el-link{
  margin-right: 15px;
}
// M.孟莉娜 20200519 选项卡内滚动条
.tabs-card-overflow .el-tabs__content{
  overflow-y: auto;
}
// M.孟莉娜 20200523 右上角个人信息
.el-dropdown-menu__item{
  padding: 0 !important;
}
.el-dropdown-menu__item::before{
  margin: 0 !important;
}
.el-dropdown-menu__item span{
  padding: 0 17px;
}

// M.孟莉娜 20200523 调整个人信息右侧弹窗层级
.app-main{
  z-index: 8;
}
// M.孟莉娜 20200702 发起合同弹窗
.card-type{
  margin: 0 0 20px 12px;
  overflow: visible !important;
}
.card-type .el-card__body{
  position: relative;
  padding-top: 40px;
  overflow: visible !important;
}

.card-type .el-card__body>.el-button--mini{
  position: absolute;
  top:3px;
  left:-8px;
  border: none;
  cursor: auto;
  padding: 3px 6px 4px 6px;
}
.card-type .el-card__body>.el-button--mini:focus{
  background: #909399;
}
.card-type .el-card__body>.el-icon-error{
  position: absolute;
  right: -8px;
  top: -8px;
  color: #909399;
  font-size: 18px;
}
.card-type  .el-input-group__prepend{
  width: 80px !important;
}